package com.whfc.fmam.map;

import com.whfc.fmam.entity.bo.FmamWeighNote;
import com.whfc.fmam.entity.dto.FmamWeighNoteDetailDTO;
import com.whfc.fmam.entity.dto.SyncFmamWeighNoteDTO;
import org.mapstruct.Mapper;

/**
 * @Description:
 * @author: xugcheng
 * @version: 1.0
 * @date: 2019/10/18 16:12
 */
@Mapper(componentModel = "spring")
public interface WeighNoteMap {

    SyncFmamWeighNoteDTO to(FmamWeighNote weighNote);

    FmamWeighNote from(SyncFmamWeighNoteDTO weighNoteDTO);

    FmamWeighNoteDetailDTO from(FmamWeighNote weighNote);
}
